Telegram Group & Telegram Channel
⚙️ Что такое атрибут required в HTML и зачем он используется?

Атрибут required делает поле формы обязательным для заполнения.

Если пользователь попытается отправить форму с пустым таким полем — браузер покажет предупреждение.

➡️ Пример:

<form>
<label>
Email:
<input type="email" required>
</label>
<button type="submit">Отправить</button>
</form>


🗣️ Почему полезно:

• Проверка происходит прямо в браузере, без JS
• Обеспечивает базовую валидацию «из коробки»
• Работает для <input>, <textarea>, <select>

required — простой способ сделать формы более устойчивыми и понятными для пользователя.

CodeBase | Frontend | #Основы
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/codebase_frontend/664
Create:
Last Update:

⚙️ Что такое атрибут required в HTML и зачем он используется?

Атрибут required делает поле формы обязательным для заполнения.

Если пользователь попытается отправить форму с пустым таким полем — браузер покажет предупреждение.

➡️ Пример:

<form>
<label>
Email:
<input type="email" required>
</label>
<button type="submit">Отправить</button>
</form>


🗣️ Почему полезно:

• Проверка происходит прямо в браузере, без JS
• Обеспечивает базовую валидацию «из коробки»
• Работает для <input>, <textarea>, <select>

required — простой способ сделать формы более устойчивыми и понятными для пользователя.

CodeBase | Frontend | #Основы

BY CodeBase | Frontend


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/codebase_frontend/664

View MORE
Open in Telegram


CodeBase | Frontend Telegram | DID YOU KNOW?

Date: |

At a time when the Indian stock market is peaking and has rallied immensely compared to global markets, there are companies that have not performed in the last 10 years. These are definitely a minor portion of the market considering there are hundreds of stocks that have turned multibagger since 2020. What went wrong with these stocks? Reasons vary from corporate governance, sectoral weakness, company specific and so on. But the more important question is, are these stocks worth buying?

A project of our size needs at least a few hundred million dollars per year to keep going,” Mr. Durov wrote in his public channel on Telegram late last year. “While doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.

CodeBase | Frontend from pl


Telegram CodeBase | Frontend
FROM USA